package com.zuipin.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 中奖规则
 * 
 * @ClassName: WinningRule
 * @author wuyicheng 
 * @time 2017年4月18日下午4:43:18 
 **/
@SuppressWarnings("serial")
public class WinningRule implements Serializable {
	
	private Long				id;					// 
	
	private Short				delFlag;			// 删除标志:1是删除，0是未删除
	
	private Long				createId;			// 创建者
	
	private String				createTime;			// 创建时间
	
	private Long				updateId;			// 更新者
	
	private String				updateTime;			// 更新时间
	
	private Long				sysId;				// 系统ID
	
	private String				winningRuleName;	// 中奖规则名
	
	private String				proSku;				// 商品ID
	
	private Integer				nums;				// 数量
	
	private BigDecimal			winningRatio;		// 中奖率
	
	private String				remark;				// 备注
	
	private String				description;		// 奖品描述
	
	private Integer				provideNums;		// 已派发数量
	
	/*
	 * 奖品2-0.1%
	 */
	public static final long	SECOND_PRIZE_2	= 2;
	/*
	 * 奖品3-0.15%
	 */
	public static final long	THIRD_PRIZE_3	= 3;
	/*
	 * 奖品4-0.3%
	 */
	public static final long	FOURTH_PRIZE_4	= 4;
	/*
	 * 奖品5-94.5%
	 */
	public static final long	FIVE_PRIZE_5	= 5;
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	
	public void setDelFlag(Short delFlag) {
		this.delFlag = delFlag;
	}
	
	public Short getDelFlag() {
		return this.delFlag;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	public Long getCreateId() {
		return this.createId;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getCreateTime() {
		return this.createTime;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public Long getUpdateId() {
		return this.updateId;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getUpdateTime() {
		return this.updateTime;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setWinningRuleName(String winningRuleName) {
		this.winningRuleName = winningRuleName;
	}
	
	public String getWinningRuleName() {
		return this.winningRuleName;
	}
	
	public void setProSku(String proSku) {
		this.proSku = proSku;
	}
	
	public String getProSku() {
		return this.proSku;
	}
	
	public void setNums(Integer nums) {
		this.nums = nums;
	}
	
	public Integer getNums() {
		return this.nums;
	}
	
	public void setWinningRatio(BigDecimal winningRatio) {
		this.winningRatio = winningRatio;
	}
	
	public BigDecimal getWinningRatio() {
		return this.winningRatio;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getRemark() {
		return this.remark;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getDescription() {
		return this.description;
	}
	
	public void setProvideNums(Integer provideNums) {
		this.provideNums = provideNums;
	}
	
	public Integer getProvideNums() {
		return this.provideNums;
	}
	
}
